import { defaultProps } from "../defaultProps.js"

export const polarShape = {
    shape: 'polarShape',
    n: 12,
    r: 200,
    a: 0,
    transform: 'none',
    pathMode: 'LINE_LOOP',
    curve: 'none',
    props: {
        stroke: 'red',
        fill: 'none',
        strokeWidth: 1
    },
    layout:{
        type:'0',
        angle:'a'
    },
    ...defaultProps
}

export const spiralShape = {
    shape: 'spiralShape',
    n: 12,
    r: 50,
    a: 0,
    m: 5,
    transform: 'none',
    pathMode: 'LINE_LOOP',
    curve: 'none',
    props: {
        stroke: 'red',
        fill: 'none',
        strokeWidth: 1
    },
    ...defaultProps
}

export const ringShape = {
    shape: 'ringShape',
    n: 12,
    r: 50,
    a: 0,
    m: 5,
    transform: 'none',
    pathMode: 'LINE_LOOP',
    curve: 'none',
    props: {
        stroke: 'red',
        fill: 'none',
        strokeWidth: 1
    },
    color: {
        type: 'colorCircle',
        alpha: 0.5,
        fill: true
    },
    ...defaultProps
}


export const rayShape = {
    shape: 'rayShape',
    n: 12,
    r: 50,
    a: 0,
    m: 5,
    transform: 'none',
    pathMode: 'LINE_LOOP',
    curve: 'none',
    props: {
        stroke: 'red',
        fill: 'none',
        strokeWidth: 1
    },
    ...defaultProps
}


export const isometricShape = {
    shape: 'isometricShape',
    n: 12,
    r: 200,
    a: 101,
    pathMode: 'LINE_STRIP',
    curve: 'none',
    props: {
        stroke: 'red',
        fill: 'none',
        strokeWidth: 1
    },
    // mirror: 'none',
    // vertex: {},
    // centre: {},
    // excircle: false,
    // incircle: false,
    // labels: false,
    // linkCross: false,
    transform: 'none',
    ...defaultProps,
    mirror: null
}

export const gridShape = {
    shape: 'gridShape',
    r: 50,
    pathMode: 'LINE_STRIP',
    curve: 'none',
    props: {
        stroke: 'red',
        fill: 'none',
        strokeWidth: 1
    },
    // mirror: 'none',
    // vertex: {},
    // centre: {},
    // excircle: false,
    // incircle: false,
    // labels: false,
    // linkCross: false,
    transform: 'none',
    ...defaultProps,
    mirror: null
}



export const polygonShape = {
    shape: 'polygonShape',
    n: 6,
    r: 100,
    a: 0,
    sweepFlag: true,
    pathMode: 'LINE_STRIP',
    curve: 'none',
    props: {
        stroke: 'red',
        fill: 'none',
        strokeWidth: 1
    },
    // mirror: 'none',
    // vertex: {},
    // centre: {},
    // excircle: false,
    // incircle: false,
    // labels: false,
    // linkCross: false,
    transform: 'none',
    ...defaultProps,
    mirror: null
}